From fb4568be2eb743714eb4df9f44c4b22df438ac77 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 19 Mar 2016 17:53:43 +0000 Subject: [PATCH] Fix permissions of installed scripts, not the copy in debian/tmp dh_fixperms runs after dh_install, so chmod on debian/tmp is not effective. --- debian/rules | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 675d885b..1e6ac4aa 100755 --- a/debian/rules +++ b/debian/rules @@ -33,11 +33,13 @@ override_dh_makeshlibs: # this is an LD_PRELOAD, not a real shared library dh_makeshlibs -Xostree/installed-tests/libreaddir-rand.so -override_dh_fixperms: +override_dh_fixperms-arch: dh_fixperms -X'*.js' - chmod -v +x debian/tmp/usr/lib/ostree/installed-tests/*.js - chmod -v +x debian/tmp/usr/lib/ostree/installed-tests/*.py - chmod -v +x debian/tmp/usr/lib/ostree/installed-tests/*.sh + chmod -v 0755 debian/ostree-tests/usr/lib/ostree/installed-tests/*.js + chmod -v 0755 debian/ostree-tests/usr/lib/ostree/installed-tests/*.py + chmod -v 0755 debian/ostree-tests/usr/lib/ostree/installed-tests/*.sh + # this one is a library, not a script + chmod -v 0644 debian/ostree-tests/usr/lib/ostree/installed-tests/libtest.sh override_dh_systemd_start: dh_systemd_start --no-start -- 2.30.2